package cn.edu.zut.hhr.service;

import cn.edu.zut.hhr.entity.Commodity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author hhr
 * @since 2021-06-19
 */
public interface ICommodityService extends IService<Commodity> {

    public Commodity getCommodityById(Long id);

    public List<Commodity> getCommodityByName(String name);

}
